home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 47.7z / BS1 part 47 / BootWriter v1.2 (1994)(Ralf Thanner)(PD).7z / BootWriter v1.2 (1994)(Ralf Thanner)(PD).adf / BBBF / BBBF.i next >
Text File  |  1994-04-05  |  2KB  |  72 lines

  1.     IFND    LIBRARIES_BBBF_LIB_I
  2.  
  3. LIBRARIES_BBBF_LIB_I    SET    1
  4.  
  5. **
  6. **    $Filename: libraries/bbbf_lib.i $
  7. **    $Release:  3.0 $
  8. **
  9. **    Programmed by Johan Eliasson, SHI member.
  10. **    Copyright © Safe Hex International 1992,1993
  11. **
  12. **    Include converted from 'C' to Assembler by Ralf Thanner
  13. ** 
  14.  
  15.  
  16. BBBFVERSION    =    3
  17. BBBFREVISION    =    0
  18.  
  19.  
  20. BBBFNAME    MACRO
  21.         dc.b    'Bootblock.library',0
  22.         ENDM
  23.  
  24.  
  25. ** The Bootblock structure.
  26. **
  27.  
  28.  RSRESET
  29. BBBF_next        rs.l    1    ; pointer to next boot structure
  30. BBBF_name        rs.b    30    ; name of bootblock virus
  31. BBBF_private        rs.b    4    ; Private use! Don't touch!
  32. BBBF_bootsum        rs.l    1    ; Private use! Don't touch!
  33. BBBF_sizeof        rs.b    0    ; lame ASM-ONE doesn't understand
  34.                     ; anything else (like __RS).
  35.  
  36. ** returned by ReadBBBF...
  37. **
  38.  
  39. BBBF_LOADED        =    0    ; Loaded and everything's ok
  40. BBBF_NOT_BBBF        =    -1    ; It was no brainfile...
  41. BBBF_CHECKSUM_ERROR    =    -2    ; Someone has fiddled with it...
  42. BBBF_ALREADY_LOADED    =    -3    ; Ready for use...
  43. BBBF_OUT_OF_MEMORY    =    -4    ; Free some and try again...
  44.  
  45. ** returned by CheckBoot... 
  46. **
  47.  
  48. BBBF_NOT_LOADED        =    -1    ; ReadBBBF first...
  49. BBBF_UNKNOWN        =    0    ; Not a known virus...
  50. BBBF_VIRUS        =    1    ; Install immediately!
  51. BBBF_NOT_BOOT        =    2    ; This disk is not bootable
  52.  
  53. ** returned by InstallBoot...
  54. **
  55.  
  56. BBBF_NO_SUCH_BOOT    =    -99    ; Unknown number (must be 0 - 7)
  57.  
  58.  
  59. ** Library vector offsets for this release. See them as constants for
  60. ** further updates.
  61.  
  62. _LVOReadBBBF        =    -30
  63. _LVOFreeBBBF        =    -36
  64. _LVOCheckBoot        =    -42
  65. _LVOGetBBBFInfo        =    -48
  66. _LVOListBBBF        =    -54
  67. _LVOReadBoot        =    -60
  68. _LVOWriteBoot        =    -66
  69. _LVOInstallBoot        =    -72
  70.  
  71.     ENDC    ; LIBRARIES_BBBF_LIB_I
  72.